import {Component, OnInit, ViewEncapsulation} from '@angular/core';
import {flyIn} from "../../animations/fly-in";

@Component({
  selector: 'app-message',
  templateUrl: './message.component.html',
  styleUrls: ['./message.component.less'],
  animations: [flyIn],
  encapsulation: ViewEncapsulation.None
})
export class MessageComponent implements OnInit {

  constructor() {
  }

  myTitle: any = '首页';

  ngOnInit() {

  }

  data = [
    {id: 1, name: "哈哈"},
    {id: 2, name: "哈哈"},
    {id: 3, name: "哈哈"},
    {id: 4, name: "哈哈"}
  ]
  message = [
    {id: 1, name: "hh"},
    {id: 2, name: "xixi"},
    {id: 3, name: "zuzu"},
    {id: 4, name: "chchi"}
  ]
}
